package com.twu.solo;

/**
 * Created with IntelliJ IDEA.
 * User: thoughtworker
 * Date: 10/13/13
 * Time: 2:03 PM
 * To change this template use File | Settings | File Templates.
 */
public class DisplayLeaguePlayerListCommand implements Command {
    private League league;

    public DisplayLeaguePlayerListCommand(League league) {
        this.league = league;
    }

    @Override
    public void execute() {
        league.printPlayersAndCoaches();
    }
}
